# idf_component_register(
#     SRCS "main.c"
#     INCLUDE_DIRS ""
# )

idf_component_register(SRCS "main.c"
                    "port/disp_driver.c"
                    "port/e042a13.c"
                    "port/wft0420.c"
                    "port/spi_port.c"
                    "apps/sgf_lvgl.c"
                    "apps/sgf_lvgl_pic.c"
                    "apps/sgf_sensor.c"
                    "apps/sgf_lvgl_font_serif_light.c"
                    "apps/sgf_lvgl_font_serif_light18.c"
                    "apps/sgf_lvgl_font_sans21.c"
                    "net/sgf_web.c"
                    "net/sgf_wifi.c"
                    "net/sgf_http.c"
                    "sys/sgf_cfg.c"
                    "sys/sgf_time.c"
                    INCLUDE_DIRS "."
                    REQUIRES lvgl nvs_flash wpa_supplicant esp_wifi esp_adc_cal esp_http_client esp_http_server json
                    EMBED_FILES  net/root.html)